home *** CD-ROM | disk | FTP | other *** search
/ Programmer Plus 2007 / Programmer-Plus-2007.iso / Programming / ActiveX Controlls / NCTAudioEditor2 ActiveX DLL / NCTAudioEditor2.exe / {app} / Samples / TestBCBAudioEditor2 / Devices.h < prev    next >
Encoding:
C/C++ Source or Header  |  2003-03-28  |  1.3 KB  |  39 lines

  1. //---------------------------------------------------------------------------
  2.  
  3. #ifndef DevicesH
  4. #define DevicesH
  5. //---------------------------------------------------------------------------
  6. #include <Classes.hpp>
  7. #include <Controls.hpp>
  8. #include <StdCtrls.hpp>
  9. #include <Forms.hpp>
  10. #include <ExtCtrls.hpp>
  11. #include "NCTAUDIOEDITOR2Lib_OCX.h"
  12. //---------------------------------------------------------------------------
  13. #define max(a, b)  (((a) > (b)) ? (a) : (b))  
  14.  
  15. class TfrmDevices : public TForm
  16. {
  17. __published:    // IDE-managed Components
  18.     TLabel *Label1;
  19.     TComboBox *Device;
  20.     TPanel *Panel1;
  21.     void __fastcall DeviceClick(TObject *Sender);
  22.     void __fastcall FormShow(TObject *Sender);
  23. private:    // User declarations
  24.     void SetSrcOutput(void);
  25. public:        // User declarations
  26.     __fastcall TfrmDevices(TComponent* Owner);
  27.     void __fastcall TrackBarChange(TObject *Sender);
  28.     void __fastcall BalanceTrackBarChange(TObject *Sender);
  29.     void __fastcall SrcSelectChange(TObject *Sender);
  30.     void __fastcall AdvClick(TObject *Sender);
  31.     IAudioEditor2DevicePtr Dev;
  32.     AnsiString srcCap;
  33.     bool flg;
  34. };
  35. //---------------------------------------------------------------------------
  36. extern PACKAGE TfrmDevices *frmDevices;
  37. //---------------------------------------------------------------------------
  38. #endif
  39.